package com.preskool.mapper;

import com.preskool.po.Holiday;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface HolidayMapper {
    List<Holiday> findAll();

    Holiday findOne(@Param("hid") Integer hid);

    Integer del(@Param("hid") Integer hid);

    Integer update(Holiday holiday);

    Integer add(Holiday holiday);

}